package com.szeastroc.common.query;

public class BaseQuery {
	private int page = 1; //第几页

	private int limit = 10; //每页行数

	public int start() {
		return (this.page - 1)*this.limit;			
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}


}
